package com.share51.novel.config.http;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * http 代理类实体
 * @author gb
 */
@Getter
@Setter
@NoArgsConstructor
public class HttpProxy {

    private String ip;

    private int port;

    /**
     * 设置 是否正在获取代理 ip
     */
    private boolean initializing = false;

    public HttpProxy(String ip, int port) {
        this.ip = ip;
        this.port = port;
    }
}
